package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 团队人数
 */
@Data
public class BdmUserTeamVo {

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "手机号")
    private String phoneNumber;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "会员等级名称")
    private String userMemberLevelName;

    @ApiModelProperty(value = "一级人数")
    private Integer userOneLevelNumber;

    @ApiModelProperty(value = "二级人数")
    private Integer userTwoLevelNumber;

    @ApiModelProperty(value = "团队总人数")
    private Integer teamCount ;

    @ApiModelProperty(value = "团队订单数")
    private Integer teamOrderNumber ;

    @ApiModelProperty(value = "团队总业绩")
    private BigDecimal teamPerformance ;

    @ApiModelProperty(value = "本周业绩")
    private BigDecimal thisWeekPerformance;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
